<?php
$this->menu=array(
	array('label'=>'Create User', 'url'=>array('create')),
);
?>
<div class="dashboard">
       <strong><i class="icon-user"></i> List User Profiles</strong>
        <ul class="list-inline pull-right">
            <li><a href="#"><i class="icon-download-alt"></i> <strong>Export data</strong></a></li> 
        </ul>
      </div>
</div>

<?php $this->widget('bootstrap.widgets.TbGridView', array(
	'type'=>'bordered',
	'dataProvider'=>$dataProvider,
	'template'=>"{summary}\n{items}\n{pager}",
	'columns'=>array(
			'userCode', 
			'username',
			'fullName',
			'user_mobile', 
			'roles',
		array(
			'class'=>'bootstrap.widgets.TbButtonColumn',
			'template'=>'{view}',
			'buttons'=>array(
					'view'=>array('icon'=>'icon-search'),
				),
		),
	),
)); ?>


